package com.yanqu.road.entity.unioncampwar;


import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 公告
 */
@FieldTypeAnnotation(tableName = "t_c_union_camp_war_box_notice", autoSave = true)
public class UnionCampWarBoxNoticeData extends DataObject {
    @FieldTypeAnnotation(desc = "后台分组", select = true, update = true)
    private int centerGroupId;
    @FieldTypeAnnotation(desc = "所属分组", select = true, update = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "周", select = true, update = true)
    private int weekId;
    @FieldTypeAnnotation(desc = "阵营")
    private int campId;
    @FieldTypeAnnotation(desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "服务器id")
    private long sererId;
    @FieldTypeAnnotation(desc = "玩家名字")
    private String userName;
    @FieldTypeAnnotation(desc = "奖励")
    private String rewards;
    @FieldTypeAnnotation(desc = "时间")
    private long openTime;

    public UnionCampWarBoxNoticeData(int centerGroupId, int groupId, int weekId, int campId) {
        this.centerGroupId = centerGroupId;
        this.groupId = groupId;
        this.weekId = weekId;
        this.campId = campId;
        setInsertOption();
    }

    public UnionCampWarBoxNoticeData() {
    }

    public int getCenterGroupId() {
        return centerGroupId;
    }

    public void setCenterGroupId(int centerGroupId) {
        this.centerGroupId = centerGroupId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getSererId() {
        return sererId;
    }

    public void setSererId(long sererId) {
        this.sererId = sererId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }


    public long getOpenTime() {
        return openTime;
    }

    public void setOpenTime(long openTime) {
        this.openTime = openTime;
    }
}
